-compile({i, "../../.."}).
-include_lib("ect/include/ect.hrl").

-import_class(alpha).

-superclass(alpha).
-class(beta).

?FIELDS(1, public, {bpub = original}).
-methods([upgrade/2, nottin/1, alpha_version/1]).

nottin(This) ->
    This.

upgrade(New1, Old1) ->
    New2 = {{New1}}:upgrade(Old1),
    New2#beta{bpub = upgraded}.

alpha_version(This) ->
    {beta
    ,{{This}}:alpha_version()
    }.